public class 作业2 {

    public static void main(String[] args) {
        boolean a = !true;
        System.out.println(a);

        boolean b = true & false;
        System.out.println(b);

        boolean c = false | true;
        System.out.println(b);

        boolean d=false && (true | false);
        System.out.println(d);

        boolean e = !! true ||false;
        System.out.println(e);

        byte f =10;
        System.out.println(f);
        f +=13.14;
        System.out.println(f);
        f -=5.2;
        System.out.println(f);

        int count =0;
        count ++;
        count ++;
        count ++;
        System.out.println("当前点赞人数"+count);
        count --;
        System.out.println("当前点赞人数" + count);

        int j =5000;
        System.out.println("当前手机的价格是否符合用户要求："+(j>=4000 && j<=6000));

        int year =2050;
        System.out.println("2050年是否为闰年："+(year/4==0 && year%100!=0 || year/400==0));

    }
}
